package com.ikunkun.controller.admin;

import com.ikunkun.dto.DishDTO;
import com.ikunkun.service.DishService;
import io.swagger.annotations.ApiOperation;
import jakarta.annotation.Resource;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author: L1kugg
 * @description: TODO
 * @date: 2025/3/2 13:49
 */
@RestController
@Slf4j
@RequestMapping("/admin/dish")
public class DishController {
    @Resource
    private DishService dishService;
    @Autowired
    private RedisTemplate redisTemplate;
    @ApiOperation("新增菜品")
    @PutMapping
    public void save(@RequestBody DishDTO dishDTO){
        log.info("新增菜品");


    }






}
